package JD_UMC_FINALIZE;

import java.io.OutputStream;

public class Example {
    OutputStream st;
    protected void finalize() throws Throwable {
        if (st!=null) st.close();
        super.finalize();
    }

    void run() throws Throwable{
        // ...
        finalize();
    }
}
